﻿using System;
using System.Collections.Generic;
using VisionCloud.Domain.Common;

namespace VisionCloud.Domain.DtoModel.Ms
{
    public enum EnumTaskTypeName
    {
        自检 = 1,
        巡检 = 2,
    }

    public enum EnumTaskProperty
    {
        结构初测 = 1,
        结构复测 = 2,
        结构其他 = 64,
        砌筑初测 = 4,
        砌筑复测 = 8,
        砌筑其他 = 128,
        抹灰初测 = 16,
        抹灰复测 = 32,
        抹灰其他 = 256
    }

    public class AreaFloorRequestDto : PageBase
    {
        /// <summary>
        /// 搜索开始时间
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 搜索结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 类型：
        /// 自检 = 1,
        /// 巡检 = 2,
        /// </summary>
        public List<EnumTaskTypeName> TaskTypeArray { get; set; }

        /// <summary>
        /// 阶段：
        /// 结构初测 = 1,
        /// 结构复测 = 2,
        /// 结构其他 = 64,
        /// 砌筑初测 = 4,
        /// 砌筑复测 = 8,
        /// 砌筑其他 = 128,
        /// 抹灰初测 = 16,
        /// 抹灰复测 = 32,
        /// 抹灰其他 = 256
        /// </summary>
        public List<EnumTaskProperty> TaskPropertyArray { get; set; }
    }
}